package com.kgc.sportscircle.pojo;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 描述：实体类
* @author 杨海文
* @date 2019/07/22
*/
public class Mallcartinfo implements Serializable {

   /**购物车子表id*/
    private Integer id;
   /**购物车主键*/
    private Integer shoppingCartId;
   /**商品id*/
    private Integer productId;
   /**数量*/
    private Integer quantity;
   /**备用*/
    private String beiyong;
   /**备用2*/
    private Integer beiyong2;

    public Mallcartinfo(){}
    
    public Mallcartinfo(Integer id,Integer shoppingCartId,Integer productId,Integer quantity,String beiyong,Integer beiyong2){
        this.id = id;
        this.shoppingCartId = shoppingCartId;
        this.productId = productId;
        this.quantity = quantity;
        this.beiyong = beiyong;
        this.beiyong2 = beiyong2;
    }

   /**获取购物车子表id属性的值*/
    public Integer getId() {
        return this.id;
    }
   /**设置购物车子表id属性的值*/
    public void setId(Integer id) {
        this.id = id;
    }
   /**获取购物车主键属性的值*/
    public Integer getShoppingCartId() {
        return this.shoppingCartId;
    }
   /**设置购物车主键属性的值*/
    public void setShoppingCartId(Integer shoppingCartId) {
        this.shoppingCartId = shoppingCartId;
    }
   /**获取商品id属性的值*/
    public Integer getProductId() {
        return this.productId;
    }
   /**设置商品id属性的值*/
    public void setProductId(Integer productId) {
        this.productId = productId;
    }
   /**获取数量属性的值*/
    public Integer getQuantity() {
        return this.quantity;
    }
   /**设置数量属性的值*/
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }
   /**获取备用属性的值*/
    public String getBeiyong() {
        return this.beiyong;
    }
   /**设置备用属性的值*/
    public void setBeiyong(String beiyong) {
        this.beiyong = beiyong;
    }
   /**获取备用2属性的值*/
    public Integer getBeiyong2() {
        return this.beiyong2;
    }
   /**设置备用2属性的值*/
    public void setBeiyong2(Integer beiyong2) {
        this.beiyong2 = beiyong2;
    }
}
